﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Detail_Major_In_Search.ascx.cs"
    Inherits="TuyenDungViecLam.User_control_VN.Detail_Major_In_Search" %>
<div style="border: 1px; padding: 13px; border-style: solid; border-color: #c6cdcf;
    background-color: White">
    <div class="art-BlockHeader" style="position: static">
        <div class="art-header-tag-icon">
            <div class="t">
                Các việc tìm thấy</div>
        </div>
    </div>
    <div class="art-BlockContent" style="padding-left: 0px; padding-right: 0px; position: static">

        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:GridView ID="dscongviec" runat="server" AutoGenerateColumns="False" Width="100%"
                    CellPadding="0" ForeColor="#333333" GridLines="None" AllowPaging="True" OnPageIndexChanging="dscongviec_PageIndexChanging"
                    PageSize="10" >
                    <RowStyle CssClass="RowsGridMain" BackColor="white" ForeColor="#333333" />
                    <Columns>
                        <asp:TemplateField HeaderText="Chức danh" SortExpression="ChucNang">
                            <ItemTemplate>
                                <a href='<%# "ChiTietCongViec.aspx?Mcv=" + Eval("MaCongViec") +"&Mct=" + Eval("MaCongTy") %>'
                                    onmousemove="BBTOnline_ShowTooltip('TootTip.aspx?Mcv=<%# Eval("MaCongViec") %>')"
                                    onmouseout="BBTOnline_HideTooltip()">
                                    <%# Eval("ChucDanh")%></a>
                            </ItemTemplate>
                            <ItemStyle VerticalAlign="Top" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Công ty" SortExpression="TenCongTy">
                            <ItemTemplate>
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("TenCongTy") %>'></asp:Label>
                            </ItemTemplate>
                            <ItemStyle Width="200px" />
                            <ItemStyle VerticalAlign="Top" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Địa điểm" SortExpression="NoiLamViec">
                            <ItemTemplate>
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("NoiLamViec") %>'></asp:Label>
                            </ItemTemplate>
                            <ItemStyle Width="100px" />
                            <ItemStyle VerticalAlign="Top" />
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="Ngày đăng" DataField="NgayDang" DataFormatString="{0:dd/MM/yyyy}"
                            SortExpression="NgayDang">
                            <ItemStyle Width="100px" />
                            <ItemStyle VerticalAlign="Top" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="Lương" DataField="MucLuong" SortExpression="MucLuong">
                            <ItemStyle Width="100px" />
                            <ItemStyle VerticalAlign="Top" />
                        </asp:BoundField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:CheckBox ID="cbchon" runat="server" />
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" />
                            <ItemStyle Width="50px" />
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" CssClass="PagingGrid" />
                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                    <HeaderStyle CssClass="HeaderGrid" />
                    <AlternatingRowStyle CssClass="RowsGrid" />
                </asp:GridView>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</div>
<div style="float: right; margin-right: 50px;">
    <asp:Button ID="Button3" runat="server" Text="Lưu việc làm" CssClass="button" Style="display: inline"
        OnClick="Button3_Click" OnClientClick="if(!confirm('Bạn không muốn lưu công việc này không ?')) return false;" /><asp:Button
            ID="Button4" runat="server" Text="Gửi cho bạn bè" CssClass="button" Style="display: inline;" /></div>
<br />
